//
//  OYCategory.h
//  ObjectiveYouTube
//
//  Created by Tristan O'Tierney on 3/15/08.
//  Copyright 2008 Tristan O'Tierney. All rights reserved.
//

#import <ObjectiveYouTube/ObjectiveYouTube.h>

extern NSString *kOYCategoryURL;

@interface OYCategory : NSObject {
	NSString *_term;
	NSString *_label;
}

- (id)initWithTerm:(NSString *)term andLabel:(NSString *)label;
- (id)initWithXMLElement:(NSXMLElement *)node;

- (NSComparisonResult)compareLabel:(OYCategory *)category;

- (NSString *)term;
- (void)setTerm:(NSString *)term;

- (NSString *)label;
- (void)setLabel:(NSString *)label;
@end
